package com.momo.hr.mapper;

import com.momo.hr.bean.Department;

import java.util.List;

public interface DepartmentMapper {

    List<Department> getAllDepartmentsByParentId(int parentId);

    void addDep(Department department);

    void deleteDepById(Department dep);

    List<Department> getAllDepartmentsWithOutChildren();
}

